package com.ruoyi.system.domain;

import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 钱包对象 wallet
 * 
 * @author ruoyi
 * @date 2025-01-04
 */
public class Wallet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 钱包id */
    private String id;

    /** 钱包余额 */
    @Excel(name = "钱包renid")
    private Long userId;

    /** 钱包人 */
    @Excel(name = "钱包")
    private Double balance;
    @Excel(name = "钱包人")
    private SysUser user;
    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private String del;

    public void setId(String id)
    {
        this.id = id;
    }

    public SysUser getUser() {
        return user;
    }

    public void setUser(SysUser user) {
        this.user = user;
    }

    public String getId()
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setBalance(Double balance)
    {
        this.balance = balance;
    }

    public Double getBalance()
    {
        return balance;
    }
    public void setDel(String del) 
    {
        this.del = del;
    }

    public String getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return "Wallet{" +
                "id='" + id + '\'' +
                ", userId=" + userId +
                ", balance=" + balance +
                ", user=" + user +
                ", del='" + del + '\'' +
                '}';
    }
}
